package org.example.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.infrastructure.persistent.po.StrategyRule;

@Mapper
public interface IStrategyRuleDao {

    StrategyRule queryStrategyRule(StrategyRule strategyRule);

    String getRuleValue(Long strategyId, Integer awardId, String ruleModel);

    String queryStrategyRuleValue(StrategyRule strategyRule);

    String queryRuleValueModel(Long strategyId, String ruleModel);

    String queryStrategyRulvValueWithoutAwarId(String ruleModel, Long strategyId);

    String queryStrategyRulvValueWithoutAwarIdtwo(StrategyRule strategyRule);
}
